<%@ page import="org.springframework.core.SpringVersion" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>springmvc helloworld</title>
    <meta http-equiv="refresh" content="0;url=/h3">
</head>

<body>
<h2>Spring MVC <%=SpringVersion.getVersion()%></h2>
<h3><%=System.getProperty("java.home")%>
</h3>
<h3><%=System.getProperty("java.version")%>
</h3>
<h3><%=System.getProperty("os.name")%>
</h3>
<h3>${pageContext.servletContext.serverInfo}</h3>
<h3>${pageContext.request.contextPath}</h3>
<h3>${pageContext.request.method}</h3>
<h6>${header["User-Agent"]}</h6>
<hr>
<a href="/hello">hello</a><br>
<a href="/h2">h2</a><br>
</body>
</html>
